<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page isErrorPage="true"%>
<%
response.setStatus(HttpServletResponse.SC_OK); //这句也一定要写,不然IE不会跳转到该页面
String path=request.getContextPath();
%>
<%@ page trimDirectiveWhitespaces="true" %>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>500错误页面</title>
	<link rel="stylesheet" href="${frontPath }/html/style/base.css">
	<link rel="stylesheet" href="${frontPath }/html/style/404.css">

</head>
<body>
<div><a href="javascript:history.back();">返回上一页 >></a></div>
<div>系统执行发生错误，信息描述如下：</div>
<div>错误状态代码是：${pageContext.errorData.statusCode}</div>
<div>错误发生页面是：${pageContext.errorData.requestURI}</div
<div>错误信息：${pageContext.exception}</div>
<div>
错误堆栈信息：<br/>
<c:forEach var="trace" items="${pageContext.exception.stackTrace}">
<p>${trace}</p>
</c:forEach>
</div>
<div><a href="javascript:history.back();">返回上一页 >></a></div>
</body>
</html>